package com.yx.changdao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yx.changdao.common.entity.SysDict;

import java.util.List;


/**
 * @Description: <br/>
 * 字典表
 * <p>
 * <br/>
 * @Auther: walter
 * @create 2020/04/03 13:33
 */
public interface SysDictService extends IService<SysDict> {

    /**
     * 根据id查
     */
    List<SysDict> getDictById(Integer dictId);

    /*
    根据父类id查询, 只返回value;
     */
    List<String> getByParent(Integer dictId);
}
